#pragma once

enum PacketErrorCode
{
    PEC_NONE,
    PEC_WRONG_PASSWORD = 10000,
    PEC_ACCOUNT_INUSE = 10001,
    PEC_INVALID_VERSION = 10002,
    PEC_SERVER_FULL = 10003,
    PEC_USER_BANNED = 10004,
    PEC_AUTH_FAILED = 10005,
    PEC_NAME_IN_USE = 10100,
    PEC_INVALID_NAME = 10101,
    PEC_NAME_SHORT = 10102,
    PEC_NAME_LONG = 10103,
    PEC_NONAME = 10104,
    PEC_NO_CHARACTER = 10110,
    PEC_NO_DELETE = 10111,
	PEC_INSUFFICIENT_BOUNTY = 20001,
    PEC_INVALID_ITEM = 20007,
    PEC_INVENTORY_FULL = 20008,
    PEC_FALSE_ITEM = 20009,
    PEC_LEVEL_LOW = 20011,
    PEC_STAGE_FULL = 30001,
    PEC_STAGE_INVALID_PASS = 30002,
    PEC_STAGE_INVALID_LEVEL = 30003,
    PEC_INVALID_STAGE = 30006,
    PEC_STAGE_CREATE_FAILED = 30008,
    PEC_CHANNEL_JOIN_FAILED = 30020,
    PEC_CHANNEL_FULL = 300021,
    PEC_CHANNEL_INVALID_LEVEL = 300022
};
